crypto/tls.Config.time (method)
17 uses
crypto/tls (current package)
common.go#L817: key.created = c.time()
common.go#L937: if len(c.autoSessionTicketKeys) > 0 && c.time().Sub(c.autoSessionTicketKeys[0].created) < ticketKeyRotation {
common.go#L947: if len(c.autoSessionTicketKeys) == 0 || c.time().Sub(c.autoSessionTicketKeys[0].created) >= ticketKeyRotation {
common.go#L956: if c.time().Sub(k.created) < ticketKeyLifetime {
common.go#L1001: func (c *Config) time() time.Time {
handshake_client.go#L328: if c.config.time().After(session.peerCertificates[0].NotAfter) {
handshake_client.go#L355: if c.config.time().After(time.Unix(int64(session.useBy), 0)) {
handshake_client.go#L392: ticketAge := c.config.time().Sub(time.Unix(int64(session.createdAt), 0))
handshake_client.go#L984: CurrentTime: c.config.time(),
handshake_client_tls13.go#L260: ticketAge := c.config.time().Sub(time.Unix(int64(hs.session.createdAt), 0))
handshake_client_tls13.go#L762: session.useBy = uint64(c.config.time().Add(lifetime).Unix())
handshake_server.go#L438: if c.config.time().Sub(createdAt) > maxSessionTicketLifetime {
handshake_server.go#L474: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
handshake_server.go#L888: CurrentTime: c.config.time(),
handshake_server_tls13.go#L318: if c.config.time().Sub(createdAt) > maxSessionTicketLifetime {
handshake_server_tls13.go#L338: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
ticket.go#L296: createdAt: uint64(c.config.time().Unix()),
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |